Root/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /* Irrlicht Library Wrapper Created by: Nathan Adams Denzel Morris Copyright (C) 2007 This software is licensed under the GNU/GPL. This software may not be used for commerical purposes. */ #ifndef IRRSPHERE_H #define IRRSPHERE_H /* We should include some basic functions */ #include <iostream> /* include strings */ #include <strings.h> #include <vector> /* We have to include Irrlichts libs */ #include <irrlicht.h> //#include "IrrLib.h" class IrrSphere { private : //irr::scene::ISceneNode* nodeNew[10]; irr::scene::ISceneNode* nodeNew; std::vector<irr::scene::ISceneNode*> sphereNodes; int numNodes; irr::scene::ISceneManager* smgr; irr::video::IVideoDriver* driver; public : void IrrSphere::SetDriver(irr::video::IVideoDriver* driver); void IrrSphere::SetSmgr(irr::scene::ISceneManager* smgr); int IrrSphere::CreateNewSphereNode( int x, int y, int z, std::string texture, bool light); //this is going to take my advanced C++ skillz! irr::core::vector3df IrrSphere::GetSphereVector( int sphere); void IrrSphere::SetSphereVector( int sphere, irr::core::vector3df v); IrrSphere::IrrSphere(); //IrrSphere::IrrSphere(IrrLib*); IrrSphere::~IrrSphere(); }; #endif |
Source at commit tip created 11 years 4 months ago. By Nathan Adams, Migrating from google code |
---|